# !/usr/bin/env python
# -*-coding:utf-8 -*-
"""
# Time       ：2025/6/11 19:32
# Description：
"""
# schedule message
MESSAGE_TYPES = {
    0: "MESSAGE_TYPE_UNSPECIFIED",  # 未指定
    1: "MESSAGE_TYPE_GAME",         # 游戏的变更
    2: "MESSAGE_TYPE_GAME_LIMIT",   # 游戏在机房限制的变更
    3: "MESSAGE_TYPE_VM",           # vm的变更
    4: "MESSAGE_TYPE_ECN",          # 机房的变更
    5: "MESSAGE_TYPE_CLEAR_PRE_LAUNCH"  # 清除预启动的vm的消息
}

# 定义 Operation 映射
OPERATIONS = {
    0: "OPERATION_UNSPECIFIED",  # 未指定
    1: "OPERATION_UPSERT",      # 创建或者更新
    2: "OPERATION_DELETE"       # 删除
}